package com.ruoyi.money.mapper;

import java.util.List;
import com.ruoyi.money.domain.SysUserTransaction;

/**
 * 收支明细Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
public interface SysUserTransactionMapper 
{
    /**
     * 查询收支明细
     * 
     * @param transactionId 收支明细主键
     * @return 收支明细
     */
    public SysUserTransaction selectSysUserTransactionByTransactionId(Long transactionId);

    /**
     * 查询收支明细列表
     * 
     * @param sysUserTransaction 收支明细
     * @return 收支明细集合
     */
    public List<SysUserTransaction> selectSysUserTransactionList(SysUserTransaction sysUserTransaction);

    /**
     * 新增收支明细
     * 
     * @param sysUserTransaction 收支明细
     * @return 结果
     */
    public int insertSysUserTransaction(SysUserTransaction sysUserTransaction);

    /**
     * 修改收支明细
     * 
     * @param sysUserTransaction 收支明细
     * @return 结果
     */
    public int updateSysUserTransaction(SysUserTransaction sysUserTransaction);

    /**
     * 删除收支明细
     * 
     * @param transactionId 收支明细主键
     * @return 结果
     */
    public int deleteSysUserTransactionByTransactionId(Long transactionId);

    /**
     * 批量删除收支明细
     * 
     * @param transactionIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysUserTransactionByTransactionIds(Long[] transactionIds);
}
